#!/bin/bash
cd frontend
echo "正在安装前端依赖..."
npm install
echo "正在安装Node.js类型定义（修复TypeScript错误）..."
npm install --save-dev @types/node 